using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace star_questionnair.Models
{
    [Table("report")]
    public class Report
    {
        [Column("id")]
        public int Id { get; set; }
        [Column("questionnaire_id")]
        public int QuestionnaireId { get; set; }
        
        [Column("content")]
        public string Content { get; set; }
        
        [Column("created_time")]
        public DateTime CreatedTime { get; set; }

        public Report() { }

        public Report(int id, int questionnaireId, string content, DateTime createdTime)
        {
            Id = id;
            QuestionnaireId = questionnaireId;
            Content = content;
            CreatedTime = createdTime;
        }
    }
}